//
// Created by wujehy on 2020/6/22.
//

#ifndef LEARNING_CPP_MYSQLDB_H
#define LEARNING_CPP_MYSQLDB_H

#include <map>
#include "DataBaseImpl.h"
/**
 * @brief 同理 实现相同的接口
 */
class MysqlDB : public DataBaseImpl
{
private:
    std::map<std::string , std::string > KV_map; // 储存信息的map

public:
    int initDataBase() override;

    int Insert(std::string key, std::string value) override;

    int Select(std::string key, std::string &output_value) override;

    int Delete(std::string key) override;

};


#endif //LEARNING_CPP_MYSQLDB_H
